package org.bizming.base;

/**
 * 基本异常类
 * @author yaoming
 *
 */
public class BaseException extends Exception {

	private static final long serialVersionUID = -3576802922963522066L;

	private int errCode;

//	public BaseException() {
//		super();
//	}

	public BaseException(int errCode) {
		this.errCode = errCode;
	}

	public BaseException(String msg, int errCode) {
		super(msg);
		this.errCode = errCode;
	}

	public int getErrCode() {
		return errCode;
	}

	public void setErrCode(int errCode) {
		this.errCode = errCode;
	}

}
